﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace AnnotateMe.Interfaces
{
    public class ImmutablePoint
    {
        private readonly double x, y;

        public ImmutablePoint(double x, double y)
        {
            this.x = x;
            this.y = y;
        }

        public double X { get { return this.x; } }
        public double Y { get { return this.y; } }

        public PointF ToPointF()
        {
            return new PointF((float)this.X, (float)this.Y);
        }
    }
}
